package myfirstproject.firstproject.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 评论区
 * </p>
 *
 * @author author
 * @since 2024-09-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("comment_section")
@ApiModel(value="CommentSection对象", description="评论区")
public class CommentSection implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "文章id")
    private String articleId;

    @ApiModelProperty(value = "发布人id")
    @TableId(value = "publisher_id", type = IdType.AUTO)
    private String publisherId;

    @ApiModelProperty(value = "用户评论")
    private String comment;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;


}
